package com.gjh.xiaokabang2code.async;
import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Component;
import static com.gjh.xiaokabang2code.common.CustomMailSender.MailSendToNewUser;

@Component
public class SendMailToNewUser {
    @Async
    public void preSendMailToNewUser(String uId) throws Exception {
            String stuNumMail = "vm" + uId + "@jzxy.edu.cn";
            MailSendToNewUser(stuNumMail);
        }
    }
